//package org.jeecg.modules.fk.controller;
//
//import com.alibaba.fastjson.JSON;
//import com.alibaba.fastjson.JSONObject;
//import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
//import com.baomidou.mybatisplus.core.toolkit.Wrappers;
//import io.swagger.annotations.ApiOperation;
//import org.jeecg.common.api.vo.Result;
//import org.jeecg.common.aspect.annotation.AutoLog;
//import org.jeecg.common.util.RestUtil;
//import org.jeecg.config.annotations.OrgPermissionAnnotation;
//import org.jeecg.config.util.CurrentOrgInfoUtil;
//import org.jeecg.modules.fk.entity.DjZyxx;
//import org.jeecg.modules.fk.vo.req.DjZyxxRequest;
//import org.jeecg.modules.fk.service.TaxpayerInfoService;
//import org.jeecg.modules.qyxx.entity.BgNsrJbxx;
//import org.jeecg.modules.qyxx.service.IBgNsrJbxxService;
//import org.jeecg.modules.system.service.ISysDictService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//
//import javax.validation.Valid;
//import java.util.LinkedHashMap;
//
///**
// * 纳税人信息
// */
//@RestController
//@RequestMapping("/front/taxpayerInfo")
//public class TaxpayerInfoResource {
//    @Autowired
//    TaxpayerInfoService taxpayerInfoService;
//
//    @Autowired
//    private ISysDictService sysDictService;
//
//    @Autowired
//    private IBgNsrJbxxService nsrJbxxService;
//
//    /**
//     * 用户主要信息查询
//     *
//     * @param req
//     * @return
//     @RequestMapping("/getOne") public RestResponse<Object> getOne(@RequestBody @Valid TaxpayerDto req) {
//
//
//     return RestResponse.successData(JSON.parse(result));
//     }
//     */
//    /**
//     * 用户主要信息查询
//     *
//     * @return
//     */
//    @AutoLog(value = "用户主要信息查询")
//    @ApiOperation(value = "用户主要信息查询", notes = "用户主要信息查询")
//    @RequestMapping(value = "/getOne", method = RequestMethod.POST)
//    @OrgPermissionAnnotation
//    public Result queryPageList(@Valid @RequestBody DjZyxxRequest djZyxxRequest) {
//        String djxh = CurrentOrgInfoUtil.getCurrentOrgShxydm();
//        LambdaQueryWrapper<BgNsrJbxx> wrapper = Wrappers.lambdaQuery(BgNsrJbxx.class); // industry_type
//        wrapper.eq(BgNsrJbxx::getDjxh,djxh);
//        BgNsrJbxx jbxx = nsrJbxxService.getOne(wrapper);
//        // nsrJbxxService.getQyxq(djZyxxRequest.getNsrsbh());
//        return Result.OK(jbxx);
//    }
//}
